opus.Gizmo({
	name: "data3stray",
	dropTarget: true,
	type: "Palm.Mojo.Panel",
	h: "100%",
	styles: {
		zIndex: 2
	},
	components: [
		{
			name: "submitService",
			onSuccess: "submitServiceSuccess",
			onFailure: "submitServiceFailure",
			url: "http://data.pdxapi.com/cats",
			method: "POST",
			parameters: {},
			handleAs: "json",
			contentType: "application/json",
			type: "Palm.Mojo.WebService"
		}
	],
	chrome: [
		{
			name: "header2",
			label: "Other Cat",
			type: "Palm.Mojo.Header",
			l: 0,
			t: 59
		},
		{
			name: "group2",
			dropTarget: true,
			label: "Info",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 50,
			h: 232,
			controls: [
				{
					name: "row3",
					layoutKind: "hbox",
					dropTarget: true,
					rowType: "first",
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: 62,
					controls: [
						{
							name: "label1",
							label: "Is this a stray?",
							type: "Palm.Mojo.Label",
							l: 0,
							r: 76,
							w: null,
							t: "10",
							h: "40"
						},
						{
							name: "stray",
							value: false,
							trueValue: true,
							falseValue: false,
							type: "Palm.Mojo.CheckBox",
							r: 60,
							w: -11,
							t: 0,
							h: "100%"
						}
					]
				},
				{
					name: "row5",
					layoutKind: "hbox",
					dropTarget: true,
					rowType: "middle",
					type: "Palm.Mojo.Row",
					l: 0,
					t: 62,
					h: 60,
					controls: [
						{
							name: "label2",
							label: "Do you know where it comes from?",
							type: "Palm.Mojo.Label",
							l: 0,
							t: 0,
							h: "100%"
						},
						{
							name: "where",
							trueValue: true,
							falseValue: false,
							type: "Palm.Mojo.CheckBox",
							r: 128,
							w: 65,
							t: 0,
							h: 60
						}
					]
				},
				{
					name: "row6",
					dropTarget: true,
					rowType: "last",
					isTextField: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 162,
					h: "auto",
					controls: [
						{
							name: "whereDetails",
							hintText: "where the cat comes from",
							type: "Palm.Mojo.TextField",
							l: 0,
							t: 120
						}
					]
				}
			]
		},
		{
			name: "group1",
			dropTarget: true,
			label: "Feeding",
			type: "Palm.Mojo.Group",
			l: 0,
			t: 306,
			h: 145,
			controls: [
				{
					name: "row7",
					layoutKind: "hbox",
					dropTarget: true,
					rowType: "first",
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "100%",
					controls: [
						{
							name: "label3",
							label: "Is anyone feeding this cat?",
							type: "Palm.Mojo.Label",
							l: 0,
							t: 0,
							h: "100%"
						},
						{
							name: "feeding",
							value: "unknown",
							choices: [
								{
									label: "I don't know",
									value: "unknown"
								},
								{
									label: "Yes",
									value: "yes"
								},
								{
									label: "No",
									value: "no"
								}
							],
							label: "",
							labelPlacement: "left",
							type: "Palm.Mojo.ListSelector",
							l: 140,
							w: 162,
							t: 0
						}
					]
				},
				{
					name: "row2",
					dropTarget: true,
					rowType: "last",
					isTextField: true,
					type: "Palm.Mojo.Row",
					l: 0,
					t: 0,
					h: "auto",
					controls: [
						{
							name: "feedingDetails",
							hintText: "feeding location",
							type: "Palm.Mojo.TextField",
							l: 0,
							t: 0
						}
					]
				}
			]
		},
		{
			name: "button1",
			ontap: "button1Tap",
			disabled: undefined,
			buttonClass: "affirmative",
			label: "Done",
			type: "Palm.Mojo.Button",
			l: 0,
			t: 344
		}
	]
});